package com.abaaba.project2.mapper;

import com.abaaba.project2.bean.Coupon_User;
import com.abaaba.project2.bean.Coupon_UserExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface Coupon_UserMapper {
    long countByExample(Coupon_UserExample example);

    int deleteByExample(Coupon_UserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Coupon_User record);

    int insertSelective(Coupon_User record);

    List<Coupon_User> selectByExample(Coupon_UserExample example);

    Coupon_User selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Coupon_User record, @Param("example") Coupon_UserExample example);

    int updateByExample(@Param("record") Coupon_User record, @Param("example") Coupon_UserExample example);

    int updateByPrimaryKeySelective(Coupon_User record);

    int updateByPrimaryKey(Coupon_User record);
}